//Copyright 2010 Balazs Keri, Imre Keri
//
//This file is part of FireworksCreator.
//
//FireworksCreator is free software: you can redistribute it and/or modify
//it under the terms of the GNU General Public License as published by
//the Free Software Foundation, either version 3 of the License, or
//(at your option) any later version.
//
//FireworksCreator is distributed in the hope that it will be useful,
//but WITHOUT ANY WARRANTY; without even the implied warranty of
//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//GNU General Public License for more details.
//
//You should have received a copy of the GNU General Public License
//along with FireworksCreator.  If not, see <http://www.gnu.org/licenses/>.
//
#ifndef _PTTIMEMARKSVIEW_H
#define _PTTIMEMARKSVIEW_H
//
#include <QObject>
#include <model/particletemplate.h>
#include "objectview.h"
//
class QTableWidget;
class PTTimeMarksView:public QObject,public ParticleTemplateView
{
   Q_OBJECT
   Q_DISABLE_COPY(PTTimeMarksView)
//construction
public:
   PTTimeMarksView(QObject *p_parent=0);
   ~PTTimeMarksView();
//signals
signals:
//slots
protected slots:
//ParticleTemplateView
protected:
   void handle_object_changed(model::ParticleTemplate *p_old_object);
   void handle_post_primitive(const Primitive &p_prim);
//value
public:
//implementation
private:
   QTableWidget *tm_table;
};
//
#endif
